package com.yydm.serviceedu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Classname EduApplication
 * @Description TODO
 * @Version 1.0.0
 * @Date 2022/6/13 20:05
 * @Created by liu25
 */

@SpringBootApplication
@EnableDiscoveryClient      //nacos注册
@EnableFeignClients         //服务调用
@ComponentScan(basePackages = "com.yydm")
public class AutoApplication {

    public static void main(String[] args) {
        SpringApplication.run(AutoApplication.class, args);
    }

}
